﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;

using Toenda.Foundation.Windows.WpfControls;

namespace WpfTestApplication {
	/// <summary>
	/// Interaction logic for Window1.xaml
	/// </summary>
	public partial class Window1 : Window {
		public Window1() {
			InitializeComponent();

			//SplitButton btn = new SplitButton();
			//btn.Content = "test123";

			//this.mainToolbar.Items.Add(btn);
		}

		private void SplitButton_Click(object sender, RoutedEventArgs e) {
			if(( (SplitButton)sender ).Mode == SplitButtonMode.Dropdown)
				return;

			MessageBox.Show("Click event handler");
		}
	}
}
